home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gPage1Column1, gPage1Column2, gPage1Column3, gPage1Column4, gPage1Column5, gPage2n3Column1, gPage2n3Column2, gPage2n3Column3, gPage2n3Column4, gPage2n3Column5, gMyPage
- set gMyPage to 1
- set gPage1Column1 to 1
- set gPage1Column2 to 1
- set gPage1Column3 to 1
- set gPage1Column4 to 1
- set gPage1Column5 to 1
- set gPage2n3Column1 to 1
- set gPage2n3Column2 to 1
- set gPage2n3Column3 to 1
- set gPage2n3Column4 to 1
- set gPage2n3Column5 to 1
- end
-
- on checkConditionsNext
- global gPage1Column1, gPage1Column2, gPage1Column3, gPage1Column4, gPage1Column5, gPage2n3Column1, gPage2n3Column2, gPage2n3Column3, gPage2n3Column4, gPage2n3Column5, gMyPage
- set gMyPage to gMyPage + 1
- if gPage2n3Column1 then
- set the castNum of sprite 12 to cast "hide1"
- set mycast to "text" & gMyPage & ".1"
- set the castNum of sprite 17 to cast mycast
- set the locH of sprite 17 to 320
- set the locV of sprite 17 to 240
- else
- set the castNum of sprite 12 to cast "view1"
- set mycast to "text" & gMyPage & ".1"
- set the castNum of sprite 17 to cast mycast
- set the locH of sprite 17 to 1000
- set the locV of sprite 17 to 1000
- end if
- if gPage2n3Column2 then
- set the castNum of sprite 13 to cast "hide2"
- set mycast to "text" & gMyPage & ".2"
- set the castNum of sprite 18 to cast mycast
- set the locH of sprite 18 to 320
- set the locV of sprite 18 to 240
- else
- set the castNum of sprite 13 to cast "view2"
- set mycast to "text" & gMyPage & ".2"
- set the castNum of sprite 18 to cast mycast
- set the locH of sprite 18 to 1000
- set the locV of sprite 18 to 1000
- end if
- if gPage2n3Column3 then
- set the castNum of sprite 14 to cast "hide3"
- set mycast to "text" & gMyPage & ".3"
- set the castNum of sprite 19 to cast mycast
- set the locH of sprite 19 to 320
- set the locV of sprite 19 to 240
- else
- set the castNum of sprite 14 to cast "view3"
- set mycast to "text" & gMyPage & ".3"
- set the castNum of sprite 19 to cast mycast
- set the locH of sprite 19 to 1000
- set the locV of sprite 19 to 1000
- end if
- if gPage2n3Column4 then
- set the castNum of sprite 15 to cast "hide4"
- set mycast to "text" & gMyPage & ".4"
- set the castNum of sprite 20 to cast mycast
- set the locH of sprite 20 to 320
- set the locV of sprite 20 to 240
- else
- set the castNum of sprite 15 to cast "view4"
- set mycast to "text" & gMyPage & ".4"
- set the castNum of sprite 20 to cast mycast
- set the locH of sprite 20 to 1000
- set the locV of sprite 20 to 1000
- end if
- if gPage2n3Column5 then
- set the castNum of sprite 16 to cast "hide5"
- set mycast to "text" & gMyPage & ".5"
- set the castNum of sprite 21 to cast mycast
- set the locH of sprite 21 to 320
- set the locV of sprite 21 to 240
- else
- set the castNum of sprite 16 to cast "view5"
- set mycast to "text" & gMyPage & ".5"
- set the castNum of sprite 21 to cast mycast
- set the locH of sprite 21 to 1000
- set the locV of sprite 21 to 1000
- end if
- updateStage()
- end
-
- on checkConditionsPrevious
- global gPage1Column1, gPage1Column2, gPage1Column3, gPage1Column4, gPage1Column5, gPage2n3Column1, gPage2n3Column2, gPage2n3Column3, gPage2n3Column4, gPage2n3Column5, gMyPage
- set gMyPage to gMyPage - 1
- if gMyPage = 2 then
- if gPage2n3Column1 then
- set the castNum of sprite 12 to cast "hide1"
- set mycast to "text" & gMyPage & ".1"
- set the castNum of sprite 17 to cast mycast
- set the locH of sprite 17 to 320
- set the locV of sprite 17 to 240
- else
- set the castNum of sprite 12 to cast "view1"
- set mycast to "text" & gMyPage & ".1"
- set the castNum of sprite 17 to cast mycast
- set the locH of sprite 17 to 1000
- set the locV of sprite 17 to 1000
- end if
- if gPage2n3Column2 then
- set the castNum of sprite 13 to cast "hide2"
- set mycast to "text" & gMyPage & ".2"
- set the castNum of sprite 18 to cast mycast
- set the locH of sprite 18 to 320
- set the locV of sprite 18 to 240
- else
- set the castNum of sprite 13 to cast "view2"
- set mycast to "text" & gMyPage & ".2"
- set the castNum of sprite 18 to cast mycast
- set the locH of sprite 18 to 1000
- set the locV of sprite 18 to 1000
- end if
- if gPage2n3Column3 then
- set the castNum of sprite 14 to cast "hide3"
- set mycast to "text" & gMyPage & ".3"
- set the castNum of sprite 19 to cast mycast
- set the locH of sprite 19 to 320
- set the locV of sprite 19 to 240
- else
- set the castNum of sprite 14 to cast "view3"
- set mycast to "text" & gMyPage & ".3"
- set the castNum of sprite 19 to cast mycast
- set the locH of sprite 19 to 1000
- set the locV of sprite 19 to 1000
- end if
- if gPage2n3Column4 then
- set the castNum of sprite 15 to cast "hide4"
- set mycast to "text" & gMyPage & ".4"
- set the castNum of sprite 20 to cast mycast
- set the locH of sprite 20 to 320
- set the locV of sprite 20 to 240
- else
- set the castNum of sprite 15 to cast "view4"
- set mycast to "text" & gMyPage & ".4"
- set the castNum of sprite 20 to cast mycast
- set the locH of sprite 20 to 1000
- set the locV of sprite 20 to 1000
- end if
- if gPage2n3Column5 then
- set the castNum of sprite 16 to cast "hide5"
- set mycast to "text" & gMyPage & ".5"
- set the castNum of sprite 21 to cast mycast
- set the locH of sprite 21 to 320
- set the locV of sprite 21 to 240
- else
- set the castNum of sprite 16 to cast "view5"
- set mycast to "text" & gMyPage & ".5"
- set the castNum of sprite 21 to cast mycast
- set the locH of sprite 21 to 1000
- set the locV of sprite 21 to 1000
- end if
- end if
- if gMyPage = 1 then
- if gPage1Column1 then
- set the castNum of sprite 12 to cast "hide1.1"
- set mycast to "text" & gMyPage & ".1"
- set the castNum of sprite 17 to cast mycast
- set the locH of sprite 17 to 320
- set the locV of sprite 17 to 240
- else
- set the castNum of sprite 12 to cast "view1.1"
- set mycast to "text" & gMyPage & ".1"
- set the castNum of sprite 17 to cast mycast
- set the locH of sprite 17 to 1000
- set the locV of sprite 17 to 1000
- end if
- if gPage1Column2 then
- set the castNum of sprite 13 to cast "hide1.2"
- set mycast to "text" & gMyPage & ".2"
- set the castNum of sprite 18 to cast mycast
- set the locH of sprite 18 to 320
- set the locV of sprite 18 to 240
- else
- set the castNum of sprite 13 to cast "view1.2"
- set mycast to "text" & gMyPage & ".2"
- set the castNum of sprite 18 to cast mycast
- set the locH of sprite 18 to 1000
- set the locV of sprite 18 to 1000
- end if
- if gPage1Column3 then
- set the castNum of sprite 14 to cast "hide1.3"
- set mycast to "text" & gMyPage & ".3"
- set the castNum of sprite 19 to cast mycast
- set the locH of sprite 19 to 320
- set the locV of sprite 19 to 240
- else
- set the castNum of sprite 14 to cast "view1.3"
- set mycast to "text" & gMyPage & ".3"
- set the castNum of sprite 19 to cast mycast
- set the locH of sprite 19 to 1000
- set the locV of sprite 19 to 1000
- end if
- if gPage1Column4 then
- set the castNum of sprite 15 to cast "hide1.4"
- set mycast to "text" & gMyPage & ".4"
- set the castNum of sprite 20 to cast mycast
- set the locH of sprite 20 to 320
- set the locV of sprite 20 to 240
- else
- set the castNum of sprite 15 to cast "view1.4"
- set mycast to "text" & gMyPage & ".4"
- set the castNum of sprite 20 to cast mycast
- set the locH of sprite 20 to 1000
- set the locV of sprite 20 to 1000
- end if
- if gPage1Column5 then
- set the castNum of sprite 16 to cast "hide1.5"
- set mycast to "text" & gMyPage & ".5"
- set the castNum of sprite 21 to cast mycast
- set the locH of sprite 21 to 320
- set the locV of sprite 21 to 240
- else
- set the castNum of sprite 16 to cast "view1.5"
- set mycast to "text" & gMyPage & ".5"
- set the castNum of sprite 21 to cast mycast
- set the locH of sprite 21 to 1000
- set the locV of sprite 21 to 1000
- end if
- end if
- updateStage()
- end
-